﻿using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;

namespace Studio
{
	// Token: 0x02000519 RID: 1305
	public class PointerAction : MonoBehaviour, IPointerClickHandler, IPointerDownHandler, IPointerEnterHandler, IPointerExitHandler, IPointerUpHandler, IEventSystemHandler
	{
		// Token: 0x06002133 RID: 8499 RVA: 0x000CBC94 File Offset: 0x000C9E94
		public virtual void OnPointerClick(PointerEventData eventData)
		{
			foreach (UnityAction unityAction in this.listClickAction)
			{
				unityAction();
			}
		}

		// Token: 0x06002134 RID: 8500 RVA: 0x000CBCF0 File Offset: 0x000C9EF0
		public virtual void OnPointerDown(PointerEventData eventData)
		{
			foreach (UnityAction unityAction in this.listDownAction)
			{
				unityAction();
			}
		}

		// Token: 0x06002135 RID: 8501 RVA: 0x000CBD4C File Offset: 0x000C9F4C
		public virtual void OnPointerEnter(PointerEventData eventData)
		{
			foreach (UnityAction unityAction in this.listEnterAction)
			{
				unityAction();
			}
		}

		// Token: 0x06002136 RID: 8502 RVA: 0x000CBDA8 File Offset: 0x000C9FA8
		public virtual void OnPointerExit(PointerEventData eventData)
		{
			foreach (UnityAction unityAction in this.listExitAction)
			{
				unityAction();
			}
		}

		// Token: 0x06002137 RID: 8503 RVA: 0x000CBE04 File Offset: 0x000CA004
		public virtual void OnPointerUp(PointerEventData eventData)
		{
			foreach (UnityAction unityAction in this.listUpAction)
			{
				unityAction();
			}
		}

		// Token: 0x040022B2 RID: 8882
		public List<UnityAction> listClickAction = new List<UnityAction>();

		// Token: 0x040022B3 RID: 8883
		public List<UnityAction> listDownAction = new List<UnityAction>();

		// Token: 0x040022B4 RID: 8884
		public List<UnityAction> listEnterAction = new List<UnityAction>();

		// Token: 0x040022B5 RID: 8885
		public List<UnityAction> listExitAction = new List<UnityAction>();

		// Token: 0x040022B6 RID: 8886
		public List<UnityAction> listUpAction = new List<UnityAction>();
	}
}
